package com.hangzhou.xyj.net.response;

import com.google.gson.annotations.SerializedName;
import com.hangzhou.xyj.model.UserModel;
import com.hangzhou.xyj.net.response.base.BaseResponse;

import java.util.List;

/**
 * Created by yaohuix on 2016/3/9  17:15
 * <p/>
 * 说明：获取用户详情 请求返回
 */
public class GetUserDetailResp extends BaseResponse<GetUserDetailResp.UserDetail> {

    public class UserDetail {
        private boolean isFollow;//是否已经关注
        private UserModel userInfo;//用户基本信息
        @SerializedName("shows")
        private List<Works> workList;//作品

        public boolean getIsFollow() {
            return isFollow;
        }

        public void setIsFollow(boolean isFollow) {
            this.isFollow = isFollow;
        }

        public UserModel getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserModel userInfo) {
            this.userInfo = userInfo;
        }

        public List<Works> getWorkList() {
            return workList;
        }

        public void setWorkList(List<Works> workList) {
            this.workList = workList;
        }
    }

    /**
     * 作品Model
     */
    public class Works {
        private int id;//作品唯一标识
        private String name;//作品名称

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
